﻿<UserControl x:Class="My.CodePlex.TFSExplorer.Controls.ServerDetailsControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="10" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="10" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
        </Grid.RowDefinitions>
        
        <TextBlock Grid.Row="1" Grid.Column="1"  Text="Server name:" FontSize="16" VerticalAlignment="Center" />
        <TextBlock Grid.Row="1" Grid.Column="2"  x:Name="ServerName" FontSize="16" VerticalAlignment="Center" />

        <TextBlock Grid.Row="2" Grid.Column="1"  Text="Server URI:" FontSize="16" VerticalAlignment="Center" />
        <TextBlock Grid.Row="2" Grid.Column="2"  x:Name="ServerUri" FontSize="16" VerticalAlignment="Center" />

        <TextBlock Grid.Row="3" Grid.Column="1"  Text="Session ID:" FontSize="16" VerticalAlignment="Center" />
        <TextBlock Grid.Row="3" Grid.Column="2"  x:Name="SessionId" FontSize="16" VerticalAlignment="Center" />

        <TextBlock Grid.Row="4" Grid.Column="1"  Text="Instance ID:" FontSize="16" VerticalAlignment="Center" />
        <TextBlock Grid.Row="4" Grid.Column="2"  x:Name="InstanceId" FontSize="16" VerticalAlignment="Center" />

        <TextBlock Grid.Row="5" Grid.Column="1"  Text="Culture:" FontSize="16" VerticalAlignment="Center" />
        <TextBlock Grid.Row="5" Grid.Column="2"  x:Name="Culture" FontSize="16" VerticalAlignment="Center" />

        <TextBlock Grid.Row="6" Grid.Column="1"  Text="Logged user:" FontSize="16" VerticalAlignment="Center" />
        <TextBlock Grid.Row="6" Grid.Column="2"  x:Name="LoggedUser" FontSize="16" VerticalAlignment="Center" />

        <TextBlock Grid.Row="7" Grid.Column="1"  Text="Computer name:" FontSize="16" VerticalAlignment="Center" />
        <TextBlock Grid.Row="7" Grid.Column="2"  x:Name="ComputerName" FontSize="16" VerticalAlignment="Center" />

        <!-- Display break -->

        <TextBlock Grid.Row="9" Grid.Column="1"  Text="Global permissions:" FontSize="16" VerticalAlignment="Center" />
        <TextBlock Grid.Row="9" Grid.Column="2"  x:Name="GlobalPermissions" FontSize="16" VerticalAlignment="Center" />

        <TextBlock Grid.Row="10" Grid.Column="1" Margin="0, 0, 5, 0" Text="Effective permissions for current project:" FontSize="16" VerticalAlignment="Center" />
        <TextBlock Grid.Row="10" Grid.Column="2" x:Name="EffectivePermissions" TextWrapping="Wrap" FontSize="16" VerticalAlignment="Center" />

        <!-- Display break -->

        <TextBlock Grid.Row="12" Grid.Column="1"  Text="Mapped local folders:" FontSize="16" VerticalAlignment="Center" />
        <TextBlock Grid.Row="12" Grid.Column="2"  x:Name="MappedLocalFolder" FontSize="16" VerticalAlignment="Center" />

        <TextBlock Grid.Row="13" Grid.Column="1"  Text="Total files:" FontSize="16" VerticalAlignment="Center" />
        <TextBlock Grid.Row="13" Grid.Column="2"  x:Name="TotalFiles" FontSize="16" VerticalAlignment="Center" />

        <TextBlock Grid.Row="14" Grid.Column="1"  Text="Total folders:" FontSize="16" VerticalAlignment="Center" />
        <TextBlock Grid.Row="14" Grid.Column="2"  x:Name="TotalFolders" FontSize="16" VerticalAlignment="Center" />

        <TextBlock Grid.Row="15" Grid.Column="1"  Text="File extensions:" FontSize="16" VerticalAlignment="Top" />
        <TextBlock Grid.Row="15" Grid.Column="2" TextWrapping="Wrap" x:Name="FileExtensions" FontSize="16" VerticalAlignment="Center" />

        <!--<TextBlock Grid.Row="17" Grid.Column="1"  Text="Last Checkin:" FontSize="16" VerticalAlignment="Center" />
        <TextBlock Grid.Row="17" Grid.Column="2"  x:Name="LastCheckin" FontSize="16" VerticalAlignment="Center" />-->

    </Grid>
</UserControl>
